package com.musemun.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author winner
 * @since 2020-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Ep对象", description="")
public class Rp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工编号")
    @TableField("rid")
    private Integer rid;

    public Rp(Integer rid, Integer pId) {
        this.rid = rid;
        this.pId = pId;
    }

    @ApiModelProperty(value = "权限id")
    @TableField("pId")
    private Integer pId;


}
